package com.sljy.hzk.entity;

import java.util.List;

/**
 * Created  on 2018/7/5 0005
 *
 * @author 唐开阔
 * @describe 考试提交
 */
public class ExamSubmitEntity {

    /**
     * allList : [{"flag":true,"queId":11,"answer":"A","sort":1},{"flag":false,"queId":13,"answer":"A","sort":2},{"flag":false,"queId":14,"answer":"B","sort":3},{"flag":true,"queId":15,"answer":"A","sort":4},{"flag":false,"queId":16,"answer":"D","sort":5},{"flag":false,"queId":17,"answer":"B","sort":6},{"flag":true,"queId":18,"answer":"A","sort":7},{"flag":true,"queId":19,"answer":"B","sort":8},{"flag":false,"queId":20,"answer":"D","sort":9},{"flag":false,"queId":21,"answer":"A","sort":10}]
     * total : 10
     * pass : false
     * errList : [{"flag":false,"queId":13,"answer":"A","sort":2},{"flag":false,"queId":14,"answer":"B","sort":3},{"flag":false,"queId":16,"answer":"D","sort":5},{"flag":false,"queId":17,"answer":"B","sort":6},{"flag":false,"queId":20,"answer":"D","sort":9},{"flag":false,"queId":21,"answer":"A","sort":10}]
     * totalScore : 13
     */

    private double total;
    private boolean pass;
    private int totalScore;
    private List<AllListBean> allList;
    private List<ErrListBean> errList;

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    public boolean isPass() {
        return pass;
    }

    public void setPass(boolean pass) {
        this.pass = pass;
    }

    public int getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(int totalScore) {
        this.totalScore = totalScore;
    }

    public List<AllListBean> getAllList() {
        return allList;
    }

    public void setAllList(List<AllListBean> allList) {
        this.allList = allList;
    }

    public List<ErrListBean> getErrList() {
        return errList;
    }

    public void setErrList(List<ErrListBean> errList) {
        this.errList = errList;
    }

    public static class AllListBean {
        /**
         * flag : true
         * queId : 11
         * answer : A
         * sort : 1
         */

        private boolean flag;
        private int queId;
        private String answer;
        private int sort;

        public boolean isFlag() {
            return flag;
        }

        public void setFlag(boolean flag) {
            this.flag = flag;
        }

        public int getQueId() {
            return queId;
        }

        public void setQueId(int queId) {
            this.queId = queId;
        }

        public String getAnswer() {
            return answer;
        }

        public void setAnswer(String answer) {
            this.answer = answer;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }
    }

    public static class ErrListBean {
        /**
         * flag : false
         * queId : 13
         * answer : A
         * sort : 2
         */

        private boolean flag;
        private int queId;
        private String answer;
        private int sort;

        public boolean isFlag() {
            return flag;
        }

        public void setFlag(boolean flag) {
            this.flag = flag;
        }

        public int getQueId() {
            return queId;
        }

        public void setQueId(int queId) {
            this.queId = queId;
        }

        public String getAnswer() {
            return answer;
        }

        public void setAnswer(String answer) {
            this.answer = answer;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }
    }
}
